package net;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import po.AttributeEnum;
import po.StrategyPO;

public interface StrategyRMI extends Remote{

	int insertStrategy(String module,AttributeEnum courseAttribute,String courseType,int courseTypeTerm,int typeCredits) throws RemoteException;

	ArrayList<StrategyPO> show() throws RemoteException;
	
	int deleteStrategy(int id) throws RemoteException;

	int updateStrategy(int strategyID ,String module,AttributeEnum courseAttribute,String courseType,int courseTypeTerm,int typeCredits) throws RemoteException;

}
